package java_1_6;

public class Cat extends Animal{
    public Cat(){}
    public Cat(String name,int age){
        super(name,age);
    }
    public void eat(String food){
        System.out.println("猫猫"+this.name+"正在吃"+food);
    }
    public Cat func(){
        return new Cat();
    }
    public void yell(){
        System.out.println("喵呜");
    }
}
